﻿#region Imports
using System.ComponentModel;
#endregion

namespace OneStopProgrammingMatrix.Models
{
    public class BaseModel : INotifyPropertyChanged
    {
        #region Property change notification
        public event PropertyChangedEventHandler PropertyChanged;
        public void RaisePropertyChanged(string name)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (handler != null)
            {
                handler(this, new PropertyChangedEventArgs(name));
            }
        }
        #endregion Property change notification
    }
}
